Integrand size = 32, antiderivative size = 230 \[ \int \frac {(h+i x)^4}{(d e+d f x) (a+b \log (c (e+f x)))} \, dx=\frac {4 e^{-\frac {a}{b}} i (f h-e i)^3 \operatorname {ExpIntegralEi}\left (\frac {a+b \log (c (e+f x))}{b}\right )}{b c d f^5}+\frac {6 e^{-\frac {2 a}{b}} i^2 (f h-e i)^2 \operatorname {ExpIntegralEi}\left (\frac {2 (a+b \log (c (e+f x)))}{b}\right )}{b c^2 d f^5}+\frac {4 e^{-\frac {3 a}{b}} i^3 (f h-e i) \operatorname {ExpIntegralEi}\left (\frac {3 (a+b \log (c (e+f x)))}{b}\right )}{b c^3 d f^5}+\frac {e^{-\frac {4 a}{b}} i^4 \operatorname {ExpIntegralEi}\left (\frac {4 (a+b \log (c (e+f x)))}{b}\right )}{b c^4 d f^5}+\frac {(f h-e i)^4 \log (a+b \log (c (e+f x)))}{b d f^5} \]
[Out]
Time = 0.47 (sec) , antiderivative size = 230, normalized size of antiderivative = 1.00, number of steps used = 14, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {2458, 12, 2395, 2336, 2209, 2339, 29, 2346} \[ \int \frac {(h+i x)^4}{(d e+d f x) (a+b \log (c (e+f x)))} \, dx=\frac {i^4 e^{-\frac {4 a}{b}} \operatorname {ExpIntegralEi}\left (\frac {4 (a+b \log (c (e+f x)))}{b}\right )}{b c^4 d f^5}+\frac {4 i^3 e^{-\frac {3 a}{b}} (f h-e i) \operatorname {ExpIntegralEi}\left (\frac {3 (a+b \log (c (e+f x)))}{b}\right )}{b c^3 d f^5}+\frac {6 i^2 e^{-\frac {2 a}{b}} (f h-e i)^2 \operatorname {ExpIntegralEi}\left (\frac {2 (a+b \log (c (e+f x)))}{b}\right )}{b c^2 d f^5}+\frac {4 i e^{-\frac {a}{b}} (f h-e i)^3 \operatorname {ExpIntegralEi}\left (\frac {a+b \log (c (e+f x))}{b}\right )}{b c d f^5}+\frac {(f h-e i)^4 \log (a+b \log (c (e+f x)))}{b d f^5} \]
[In]
[Out]
Rule 12
Rule 29
Rule 2209
Rule 2336
Rule 2339
Rule 2346
Rule 2395
Rule 2458
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {\left (\frac {f h-e i}{f}+\frac {i x}{f}\right )^4}{d x (a+b \log (c x))} \, dx,x,e+f x\right )}{f} \\ & = \frac {\text {Subst}\left (\int \frac {\left (\frac {f h-e i}{f}+\frac {i x}{f}\right )^4}{x (a+b \log (c x))} \, dx,x,e+f x\right )}{d f} \\ & = \frac {\text {Subst}\left (\int \left (\frac {4 i (f h-e i)^3}{f^4 (a+b \log (c x))}+\frac {(f h-e i)^4}{f^4 x (a+b \log (c x))}+\frac {6 i^2 (f h-e i)^2 x}{f^4 (a+b \log (c x))}+\frac {4 i^3 (f h-e i) x^2}{f^4 (a+b \log (c x))}+\frac {i^4 x^3}{f^4 (a+b \log (c x))}\right ) \, dx,x,e+f x\right )}{d f} \\ & = \frac {i^4 \text {Subst}\left (\int \frac {x^3}{a+b \log (c x)} \, dx,x,e+f x\right )}{d f^5}+\frac {\left (4 i^3 (f h-e i)\right ) \text {Subst}\left (\int \frac {x^2}{a+b \log (c x)} \, dx,x,e+f x\right )}{d f^5}+\frac {\left (6 i^2 (f h-e i)^2\right ) \text {Subst}\left (\int \frac {x}{a+b \log (c x)} \, dx,x,e+f x\right )}{d f^5}+\frac {\left (4 i (f h-e i)^3\right ) \text {Subst}\left (\int \frac {1}{a+b \log (c x)} \, dx,x,e+f x\right )}{d f^5}+\frac {(f h-e i)^4 \text {Subst}\left (\int \frac {1}{x (a+b \log (c x))} \, dx,x,e+f x\right )}{d f^5} \\ & = \frac {i^4 \text {Subst}\left (\int \frac {e^{4 x}}{a+b x} \, dx,x,\log (c (e+f x))\right )}{c^4 d f^5}+\frac {\left (4 i^3 (f h-e i)\right ) \text {Subst}\left (\int \frac {e^{3 x}}{a+b x} \, dx,x,\log (c (e+f x))\right )}{c^3 d f^5}+\frac {\left (6 i^2 (f h-e i)^2\right ) \text {Subst}\left (\int \frac {e^{2 x}}{a+b x} \, dx,x,\log (c (e+f x))\right )}{c^2 d f^5}+\frac {\left (4 i (f h-e i)^3\right ) \text {Subst}\left (\int \frac {e^x}{a+b x} \, dx,x,\log (c (e+f x))\right )}{c d f^5}+\frac {(f h-e i)^4 \text {Subst}\left (\int \frac {1}{x} \, dx,x,a+b \log (c (e+f x))\right )}{b d f^5} \\ & = \frac {4 e^{-\frac {a}{b}} i (f h-e i)^3 \text {Ei}\left (\frac {a+b \log (c (e+f x))}{b}\right )}{b c d f^5}+\frac {6 e^{-\frac {2 a}{b}} i^2 (f h-e i)^2 \text {Ei}\left (\frac {2 (a+b \log (c (e+f x)))}{b}\right )}{b c^2 d f^5}+\frac {4 e^{-\frac {3 a}{b}} i^3 (f h-e i) \text {Ei}\left (\frac {3 (a+b \log (c (e+f x)))}{b}\right )}{b c^3 d f^5}+\frac {e^{-\frac {4 a}{b}} i^4 \text {Ei}\left (\frac {4 (a+b \log (c (e+f x)))}{b}\right )}{b c^4 d f^5}+\frac {(f h-e i)^4 \log (a+b \log (c (e+f x)))}{b d f^5} \\ \end{align*}
\[ \int \frac {(h+i x)^4}{(d e+d f x) (a+b \log (c (e+f x)))} \, dx=\int \frac {(h+i x)^4}{(d e+d f x) (a+b \log (c (e+f x)))} \, dx \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(566\) vs. \(2(233)=466\).
Time = 3.02 (sec) , antiderivative size = 567, normalized size of antiderivative = 2.47
method | result | size |
derivativedivides | \(\frac {-\frac {i^{4} {\mathrm e}^{-\frac {4 a}{b}} \operatorname {Ei}_{1}\left (-4 \ln \left (c f x +c e \right )-\frac {4 a}{b}\right )}{b}+\frac {c^{4} e^{4} i^{4} \ln \left (a +b \ln \left (c f x +c e \right )\right )}{b}+\frac {c^{4} f^{4} h^{4} \ln \left (a +b \ln \left (c f x +c e \right )\right )}{b}+\frac {4 c e \,i^{4} {\mathrm e}^{-\frac {3 a}{b}} \operatorname {Ei}_{1}\left (-3 \ln \left (c f x +c e \right )-\frac {3 a}{b}\right )}{b}-\frac {6 c^{2} e^{2} i^{4} {\mathrm e}^{-\frac {2 a}{b}} \operatorname {Ei}_{1}\left (-2 \ln \left (c f x +c e \right )-\frac {2 a}{b}\right )}{b}+\frac {4 c^{3} e^{3} i^{4} {\mathrm e}^{-\frac {a}{b}} \operatorname {Ei}_{1}\left (-\ln \left (c f x +c e \right )-\frac {a}{b}\right )}{b}-\frac {4 c f h \,i^{3} {\mathrm e}^{-\frac {3 a}{b}} \operatorname {Ei}_{1}\left (-3 \ln \left (c f x +c e \right )-\frac {3 a}{b}\right )}{b}-\frac {6 c^{2} f^{2} h^{2} i^{2} {\mathrm e}^{-\frac {2 a}{b}} \operatorname {Ei}_{1}\left (-2 \ln \left (c f x +c e \right )-\frac {2 a}{b}\right )}{b}-\frac {4 c^{3} f^{3} h^{3} i \,{\mathrm e}^{-\frac {a}{b}} \operatorname {Ei}_{1}\left (-\ln \left (c f x +c e \right )-\frac {a}{b}\right )}{b}-\frac {4 c^{4} e \,f^{3} h^{3} i \ln \left (a +b \ln \left (c f x +c e \right )\right )}{b}+\frac {6 c^{4} e^{2} f^{2} h^{2} i^{2} \ln \left (a +b \ln \left (c f x +c e \right )\right )}{b}-\frac {4 c^{4} e^{3} f h \,i^{3} \ln \left (a +b \ln \left (c f x +c e \right )\right )}{b}+\frac {12 c^{2} e f h \,i^{3} {\mathrm e}^{-\frac {2 a}{b}} \operatorname {Ei}_{1}\left (-2 \ln \left (c f x +c e \right )-\frac {2 a}{b}\right )}{b}+\frac {12 c^{3} e \,f^{2} h^{2} i^{2} {\mathrm e}^{-\frac {a}{b}} \operatorname {Ei}_{1}\left (-\ln \left (c f x +c e \right )-\frac {a}{b}\right )}{b}-\frac {12 c^{3} e^{2} f h \,i^{3} {\mathrm e}^{-\frac {a}{b}} \operatorname {Ei}_{1}\left (-\ln \left (c f x +c e \right )-\frac {a}{b}\right )}{b}}{c^{4} f^{5} d}\) | \(567\) |
default | \(\frac {-\frac {i^{4} {\mathrm e}^{-\frac {4 a}{b}} \operatorname {Ei}_{1}\left (-4 \ln \left (c f x +c e \right )-\frac {4 a}{b}\right )}{b}+\frac {c^{4} e^{4} i^{4} \ln \left (a +b \ln \left (c f x +c e \right )\right )}{b}+\frac {c^{4} f^{4} h^{4} \ln \left (a +b \ln \left (c f x +c e \right )\right )}{b}+\frac {4 c e \,i^{4} {\mathrm e}^{-\frac {3 a}{b}} \operatorname {Ei}_{1}\left (-3 \ln \left (c f x +c e \right )-\frac {3 a}{b}\right )}{b}-\frac {6 c^{2} e^{2} i^{4} {\mathrm e}^{-\frac {2 a}{b}} \operatorname {Ei}_{1}\left (-2 \ln \left (c f x +c e \right )-\frac {2 a}{b}\right )}{b}+\frac {4 c^{3} e^{3} i^{4} {\mathrm e}^{-\frac {a}{b}} \operatorname {Ei}_{1}\left (-\ln \left (c f x +c e \right )-\frac {a}{b}\right )}{b}-\frac {4 c f h \,i^{3} {\mathrm e}^{-\frac {3 a}{b}} \operatorname {Ei}_{1}\left (-3 \ln \left (c f x +c e \right )-\frac {3 a}{b}\right )}{b}-\frac {6 c^{2} f^{2} h^{2} i^{2} {\mathrm e}^{-\frac {2 a}{b}} \operatorname {Ei}_{1}\left (-2 \ln \left (c f x +c e \right )-\frac {2 a}{b}\right )}{b}-\frac {4 c^{3} f^{3} h^{3} i \,{\mathrm e}^{-\frac {a}{b}} \operatorname {Ei}_{1}\left (-\ln \left (c f x +c e \right )-\frac {a}{b}\right )}{b}-\frac {4 c^{4} e \,f^{3} h^{3} i \ln \left (a +b \ln \left (c f x +c e \right )\right )}{b}+\frac {6 c^{4} e^{2} f^{2} h^{2} i^{2} \ln \left (a +b \ln \left (c f x +c e \right )\right )}{b}-\frac {4 c^{4} e^{3} f h \,i^{3} \ln \left (a +b \ln \left (c f x +c e \right )\right )}{b}+\frac {12 c^{2} e f h \,i^{3} {\mathrm e}^{-\frac {2 a}{b}} \operatorname {Ei}_{1}\left (-2 \ln \left (c f x +c e \right )-\frac {2 a}{b}\right )}{b}+\frac {12 c^{3} e \,f^{2} h^{2} i^{2} {\mathrm e}^{-\frac {a}{b}} \operatorname {Ei}_{1}\left (-\ln \left (c f x +c e \right )-\frac {a}{b}\right )}{b}-\frac {12 c^{3} e^{2} f h \,i^{3} {\mathrm e}^{-\frac {a}{b}} \operatorname {Ei}_{1}\left (-\ln \left (c f x +c e \right )-\frac {a}{b}\right )}{b}}{c^{4} f^{5} d}\) | \(567\) |
risch | \(\frac {e^{4} i^{4} \ln \left (a +b \ln \left (c f x +c e \right )\right )}{f^{5} d b}-\frac {4 e^{3} h \,i^{3} \ln \left (a +b \ln \left (c f x +c e \right )\right )}{f^{4} d b}+\frac {6 e^{2} h^{2} i^{2} \ln \left (a +b \ln \left (c f x +c e \right )\right )}{f^{3} d b}-\frac {4 e \,h^{3} i \ln \left (a +b \ln \left (c f x +c e \right )\right )}{f^{2} d b}+\frac {h^{4} \ln \left (a +b \ln \left (c f x +c e \right )\right )}{f d b}+\frac {4 e^{3} i^{4} {\mathrm e}^{-\frac {a}{b}} \operatorname {Ei}_{1}\left (-\ln \left (c f x +c e \right )-\frac {a}{b}\right )}{c \,f^{5} d b}-\frac {12 e^{2} h \,i^{3} {\mathrm e}^{-\frac {a}{b}} \operatorname {Ei}_{1}\left (-\ln \left (c f x +c e \right )-\frac {a}{b}\right )}{c \,f^{4} d b}+\frac {12 e \,h^{2} i^{2} {\mathrm e}^{-\frac {a}{b}} \operatorname {Ei}_{1}\left (-\ln \left (c f x +c e \right )-\frac {a}{b}\right )}{c \,f^{3} d b}-\frac {4 h^{3} i \,{\mathrm e}^{-\frac {a}{b}} \operatorname {Ei}_{1}\left (-\ln \left (c f x +c e \right )-\frac {a}{b}\right )}{c \,f^{2} d b}-\frac {6 e^{2} i^{4} {\mathrm e}^{-\frac {2 a}{b}} \operatorname {Ei}_{1}\left (-2 \ln \left (c f x +c e \right )-\frac {2 a}{b}\right )}{c^{2} f^{5} d b}+\frac {12 e h \,i^{3} {\mathrm e}^{-\frac {2 a}{b}} \operatorname {Ei}_{1}\left (-2 \ln \left (c f x +c e \right )-\frac {2 a}{b}\right )}{c^{2} f^{4} d b}-\frac {6 h^{2} i^{2} {\mathrm e}^{-\frac {2 a}{b}} \operatorname {Ei}_{1}\left (-2 \ln \left (c f x +c e \right )-\frac {2 a}{b}\right )}{c^{2} f^{3} d b}+\frac {4 e \,i^{4} {\mathrm e}^{-\frac {3 a}{b}} \operatorname {Ei}_{1}\left (-3 \ln \left (c f x +c e \right )-\frac {3 a}{b}\right )}{c^{3} f^{5} d b}-\frac {4 h \,i^{3} {\mathrm e}^{-\frac {3 a}{b}} \operatorname {Ei}_{1}\left (-3 \ln \left (c f x +c e \right )-\frac {3 a}{b}\right )}{c^{3} f^{4} d b}-\frac {i^{4} {\mathrm e}^{-\frac {4 a}{b}} \operatorname {Ei}_{1}\left (-4 \ln \left (c f x +c e \right )-\frac {4 a}{b}\right )}{c^{4} f^{5} d b}\) | \(617\) |
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 401, normalized size of antiderivative = 1.74 \[ \int \frac {(h+i x)^4}{(d e+d f x) (a+b \log (c (e+f x)))} \, dx=\frac {{\left (i^{4} \operatorname {log\_integral}\left ({\left (c^{4} f^{4} x^{4} + 4 \, c^{4} e f^{3} x^{3} + 6 \, c^{4} e^{2} f^{2} x^{2} + 4 \, c^{4} e^{3} f x + c^{4} e^{4}\right )} e^{\left (\frac {4 \, a}{b}\right )}\right ) + {\left (c^{4} f^{4} h^{4} - 4 \, c^{4} e f^{3} h^{3} i + 6 \, c^{4} e^{2} f^{2} h^{2} i^{2} - 4 \, c^{4} e^{3} f h i^{3} + c^{4} e^{4} i^{4}\right )} e^{\left (\frac {4 \, a}{b}\right )} \log \left (b \log \left (c f x + c e\right ) + a\right ) + 4 \, {\left (c f h i^{3} - c e i^{4}\right )} e^{\frac {a}{b}} \operatorname {log\_integral}\left ({\left (c^{3} f^{3} x^{3} + 3 \, c^{3} e f^{2} x^{2} + 3 \, c^{3} e^{2} f x + c^{3} e^{3}\right )} e^{\left (\frac {3 \, a}{b}\right )}\right ) + 6 \, {\left (c^{2} f^{2} h^{2} i^{2} - 2 \, c^{2} e f h i^{3} + c^{2} e^{2} i^{4}\right )} e^{\left (\frac {2 \, a}{b}\right )} \operatorname {log\_integral}\left ({\left (c^{2} f^{2} x^{2} + 2 \, c^{2} e f x + c^{2} e^{2}\right )} e^{\left (\frac {2 \, a}{b}\right )}\right ) + 4 \, {\left (c^{3} f^{3} h^{3} i - 3 \, c^{3} e f^{2} h^{2} i^{2} + 3 \, c^{3} e^{2} f h i^{3} - c^{3} e^{3} i^{4}\right )} e^{\left (\frac {3 \, a}{b}\right )} \operatorname {log\_integral}\left ({\left (c f x + c e\right )} e^{\frac {a}{b}}\right )\right )} e^{\left (-\frac {4 \, a}{b}\right )}}{b c^{4} d f^{5}} \]
[In]
[Out]
\[ \int \frac {(h+i x)^4}{(d e+d f x) (a+b \log (c (e+f x)))} \, dx=\frac {\int \frac {h^{4}}{a e + a f x + b e \log {\left (c e + c f x \right )} + b f x \log {\left (c e + c f x \right )}}\, dx + \int \frac {i^{4} x^{4}}{a e + a f x + b e \log {\left (c e + c f x \right )} + b f x \log {\left (c e + c f x \right )}}\, dx + \int \frac {4 h i^{3} x^{3}}{a e + a f x + b e \log {\left (c e + c f x \right )} + b f x \log {\left (c e + c f x \right )}}\, dx + \int \frac {6 h^{2} i^{2} x^{2}}{a e + a f x + b e \log {\left (c e + c f x \right )} + b f x \log {\left (c e + c f x \right )}}\, dx + \int \frac {4 h^{3} i x}{a e + a f x + b e \log {\left (c e + c f x \right )} + b f x \log {\left (c e + c f x \right )}}\, dx}{d} \]
[In]
[Out]
\[ \int \frac {(h+i x)^4}{(d e+d f x) (a+b \log (c (e+f x)))} \, dx=\int { \frac {{\left (i x + h\right )}^{4}}{{\left (d f x + d e\right )} {\left (b \log \left ({\left (f x + e\right )} c\right ) + a\right )}} \,d x } \]
[In]
[Out]
\[ \int \frac {(h+i x)^4}{(d e+d f x) (a+b \log (c (e+f x)))} \, dx=\int { \frac {{\left (i x + h\right )}^{4}}{{\left (d f x + d e\right )} {\left (b \log \left ({\left (f x + e\right )} c\right ) + a\right )}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(h+i x)^4}{(d e+d f x) (a+b \log (c (e+f x)))} \, dx=\int \frac {{\left (h+i\,x\right )}^4}{\left (d\,e+d\,f\,x\right )\,\left (a+b\,\ln \left (c\,\left (e+f\,x\right )\right )\right )} \,d x \]
[In]
[Out]